/*
 * @copyright: Huang Ding
 * @Author: ding-cx
 * @Date: 2020-12-02 17:36:07
 * @LastEditors: ding-cx
 * @LastEditTime: 2020-12-02 18:26:54
 * @Description: file content
 */
const Controller = require('egg').Controller;

class SysCaptchaController extends Controller {
    
    async index() {
        const {
            ctx
        } = this;
        ctx.body = 'hi, egg';
    }

    async generate() {
        await this.ctx.service.sys.captcha.outputStrem();
    }
}

module.exports = SysCaptchaController;